import React from "react";
import { num, useAtom } from "@/store";

export const Home = () => {
  const [conten, setConten] = useAtom(num);
  return (
    <div
      onClick={() => {
        setConten((prev) => ++prev);
      }}
    >
      {conten}
    </div>
  );
};
